package com.wcfsy.wechat.wx.sys.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wcfsy.wechat.wx.entity.PicImage;
import com.wcfsy.wechat.wx.entity.Product;

public interface ProductConfigDao extends IBaseDao<Product> {

	public List<Product> queryRecommendProducts();
	
	public List<Product> queryProducts(Map<String,Object> map);
	
	public void saveProductPic(PicImage picImage);
	
	public void updateProductPic(PicImage picImage);
	
	public List<PicImage> getProductPic(@Param("productId")int productId);
	
	public void deleteByPicImage(@Param("productId")int productId);
	
	public void deleteImage(@Param("productId")int productId);
	
}
